import 'package:json_annotation/json_annotation.dart';
part 'device_vendor_response.g.dart';

@JsonSerializable()
class DeviceVendorListResult {
  DeviceVendorListResult();

  List<DeviceVendorResult> data;

  //不同的类使用不同的mixin即可
  factory DeviceVendorListResult.fromJson(Map<String, dynamic> json) =>
      _$DeviceVendorListResultFromJson(json);
  Map<String, dynamic> toJson() => _$DeviceVendorListResultToJson(this);
}

@JsonSerializable()
class DeviceVendorResult {
  DeviceVendorResult();

  int createTime;
  int deviceTypeId;
  String deviceTypeName;
  int isDelete;
  // String operator;
  int updateTime;

  //不同的类使用不同的mixin即可
  factory DeviceVendorResult.fromJson(Map<String, dynamic> json) =>
      _$DeviceVendorResultFromJson(json);
  Map<String, dynamic> toJson() => _$DeviceVendorResultToJson(this);
}
